]> dgit.raspbian.org Git - gnome-shell.git/commit
popupMenu: Add active CSS pseudo class
authorCarlos Soriano <csoriano@gnome.org>
Wed, 18 Feb 2015 16:07:59 +0000 (17:07 +0100)
committerFlorian Müllner <fmuellner@gnome.org>
Fri, 20 Feb 2015 14:16:07 +0000 (15:16 +0100)
commit8d66fff2aa1999c596c42e6fb6709802c38be0bf
tree44498cef097956c1df1d5bef30b6a99cdbb08edd
parent75e0894de0a8efb02f95b4c1d9e974f8179db85c
popupMenu: Add active CSS pseudo class

So we can style it differently than :hover.
We already have a active state for the menu items which includes
more than hover. For example, when the keyboard focus moves to a item
or we select programatically a item.
For this reason we need a style class named active for the meaning we
give to it in menu items, and a pseudo class active with the meaning
CSS has.

https://bugzilla.gnome.org/show_bug.cgi?id=744680
data/theme/_common.scss
data/theme/gnome-shell-high-contrast.css
data/theme/gnome-shell.css
js/ui/popupMenu.js